/* logo */
.logo{
    width: 950px;
    height: 120px;
    margin: auto;
    box-sizing: border-box;
    padding-top: 35px;
    padding-left: 40px;
}
/* nav */
nav{
    width: 950px;
    height: 52px;
    margin: auto;
    box-sizing: border-box;
    border: 1px solid #dbdbdb;
    line-height: 52px;
    font-size: 18px;
    ul{
        display: flex;
        li{
            a{
                position: relative;
                z-index: 10;
                display: inline-block;
                width: 126px;
                height: 30px;
                line-height: 30px;
                text-align: center;
                border-right: solid 1px #dddddd;
                width: 130px;
                &:hover{
                    color: #dedede;
                }
            }
        }
    }
}

/* main */
main{
    /* position: relative; */
    width: 950px;
    margin: auto;
    /* 轮播 */
    .container{
        width: 950px;
        height: 484px;
        margin: auto;
        overflow: hidden;
        position: relative;
        border-bottom: 1px solid #dadada;
        /* z-index: -2; */
        top: -100px;
        .pic{
            display: flex;
            width: 2850px;
            height: 484px;
            position: absolute;
            left: 0px;
            animation: slideshow 6s 1s steps(3,end) infinite;
        }
        a{
            color: #462221;
            text-decoration: underline;
            position: absolute;
            top: 400px;
            left: 45px;
        }
    }
}
@keyframes slideshow{
    from{
        left: 0px;

    }
    to{
        left: -2850px;
    }
}
.clearfix::before,.clearfix::after{
    content: "";
    display: block;
    clear: both;
}
/* 大圆圈 */
.circle{
    width: 950px;
    height: 70px;
    background-image: url(../images/header-bg.png);
    background-size: 960px 70px;
    display: flex;
    justify-content: center;
    border: 1px solid #e2e2e2;
    margin-top: 3px;
    position: relative;
    top: -104px;
    div{
        width: 145px;
        height: 145px;
        border-radius: 50%;
        background-color: rosybrown;
        text-align: center;
        color: white;
        border: white 1px solid;
        margin-top: -80px;
        z-index: 1;
        margin-left: 5px;
        &:nth-child(1){
            background-color: #681d3b;
        }
        &:nth-child(2){
            background-color: #e87f2c;
        }
        &:nth-child(3){
            background-color: #a69945;
        }   
        &:hover p::before{
            display: block;
        }
        p{
            margin-top: 50px;
            position: relative;
            &::before{
                content: "^";
                font-size: 50px;
                position: absolute;
                top: -50px;
                left: 55px;
                display: none;
            }
        }
    }
}
/* 中间文章-top */
.article-top{
    border: 1px solid #e2e2e2;
    width: 950px;
    margin-top: -104px;
    .title{
        padding-top: 20px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        width: 450px;
        color: #c2c2c2;
        h2{
            font-size: 22px;
            font-weight: bold;
        }
    }
    .content{
        margin-top: 30px;
        height: 200px;
        display: flex;
        justify-content:space-evenly;
        div{
            font-size: 14px;
            display: flex;
            &:nth-last-child(1) p{
                width: 280px;
                }
            &:nth-last-child(1){
                color: #582649;
            }
            &:nth-last-child(2){
                color: #e3822e;
            }
            &:nth-last-child(3){
                color: #b5ae54;
            }
            &:nth-last-child(4){
                color: #c6c6c8;
            }
            span{
                font-size: 30px;
                margin-right: 10px;
                font-weight:900;
            }
            p{
                width: 145px;
                height: 130px;
                position: relative;
                a{
                    position: absolute;
                    bottom: 0px;
                    left: 0px;
                    text-decoration: underline;
                    color: #b4c1c3;
                }
            }
        }
        
    }
}
/* 中间文章-bottom-left */
.article-bottom{
    width: 952px;
    box-sizing: border-box;
    padding:30px;
    border: 1px solid #e2e2e2;
    display: flex;
    justify-content: space-between;
    .left{
        width: 590px;
        .left-top{
            h1{
                font-size: 30px;
                margin-bottom: 20px;
                font-weight: bold;
            }
            p{
                a{
                    text-decoration: underline;
                    color: #92a2a8;
                }
                font-size: 14px;
                color: #cbc9ca;
            }
        }
        .left-down{
            margin-top: 30px;
            display: flex;
            justify-content: space-between;
            div{
                width: 188px;
                h2{
                    font-size: 15px;
                    text-align: end;
                    font-weight: bold;
                }
                p{
                    font-size: 12px;
                    text-align: end;
                    color: #cbc9ca;
                }
            }
        }
    }
    .right{
        width: 290px;
        .right-top{
            h1{
                font-size: 30px;
                margin-bottom: 5px;
                font-weight: bold;
            }
            h4{
                font-weight: 500;
                margin-top: 15px;
                margin-bottom: 10px;
                span{
                    font-weight: 900;
                }
            }
            p{
                a{
                    text-decoration: underline;
                    color: #92a2a8;
                }
                padding-bottom: 15px;
                color: #cbc9ca;
                font-size: 14px;
    
            }
            
        }
        
        .right-down{
            border-top: 1px solid #e2e2e2;
            h4{
                font-weight: 500;
                margin-top: 15px;
                margin-bottom: 10px;
                span{
                    font-weight: 900;
                }
            }
            a{
                display: block;
                text-align: end;
                text-decoration: underline;
                color: #92a2a8;
            }
        }
        
    }
}
/* content */
.content{
    width: 952px;
    padding: 30px;
    box-sizing: border-box;
    background-color: #e9e9e9;
    display: flex;
    justify-content: space-between;
    div{
        width: 190px;
        h2{
            font-size: 18px;
            font-weight: bold;
        }
        a{
            color: #b6c9ca;
            img{
                margin-right: 10px;
            }
        }
    }
    .content-end{
        width: 250px;
    }
    h2{
        margin-bottom: 20px;
    }
    li{
        font-size: 12px;
        margin-bottom: 10px;
        color: #5db4c5;
    }
    p{
        width: 230px;
        height: 80px;
        font-size: 13px;
        background-color: white;
        padding: 10px 10px;
    }
    h1{
        font-size: 14px;
        position: relative;
        font-weight: bold;
        text-align: center;
        &::after{
            content: "";
            border: white 20px solid;
            border-right: none;
            border-bottom-color:#e9e9e9;
            border-left-color: #e9e9e9 ;
            position: absolute;
            top: 0px;
            left: 210px;
        }
        span{
            font-size: 13px;
            font-weight: 400;
            color: #cbc9ca;
        }
    }
}
/* footer */
footer{
    width: 950px;
    height: 90px;
    margin: auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    a{
        color: #5db4c5;
    }
    font-size: 12px;
    padding-left: 40px;
}